package com.zhc.dejingapi.controller;


import com.zhc.dejingapi.entity.QingZbEqLoadTableEntity;
import com.zhc.dejingapi.service.QingZbEqLoadTableService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhc
 * @since 2024-09-13
 */
@RestController
@RequestMapping("/qing-zb-eq-load-table-entity")
@CrossOrigin
public class QingZbEqLoadTableController {

    @Resource
    private QingZbEqLoadTableService qingZbEqLoadTableService;
    @PostMapping("/computeLoadWithEq/{workDate}")
    public List<QingZbEqLoadTableEntity> computeLoadWithEq(@PathVariable String workDate){
        return qingZbEqLoadTableService.computeLoadWithEq(workDate);
    }
}
